import xadmin
from django.contrib import admin
from .models import Nav,Carousel
# Register your models here.
class NavAdmin(object):
    list_display = ('name','status','sort','father','ctime')
    list_per_page = 10

class CarouselAdmin(object):
    list_display = ('name','status','sort','ctime')
    list_per_page = 10


xadmin.site.register(Nav, NavAdmin)
xadmin.site.register(Carousel, CarouselAdmin)